//
//  ChatRecordView.h
//  DoctorYL
//
//  Created by unionx on 2017/3/9.
//  Copyright © 2017年 yuntai. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, VoiceRecordState)
{
    VoiceRecordState_Normal,          //初始状态
    VoiceRecordState_Recording,       //正在录音
    VoiceRecordState_ReleaseToCancel, //上滑取消（也在录音状态，UI显示有区别）
    VoiceRecordState_RecordCounting,  //最后10s倒计时（也在录音状态，UI显示有区别）
    VoiceRecordState_RecordTooShort,  //录音时间太短（录音结束了）
};




/**
 聊天时的录音出现的动画view
 */
@interface ChatRecordView : UIView

- (void)updateRecordViewWithState:(VoiceRecordState)recordState;


@end
